Skip to content

Add Github Actions tox tests and Dependabot version updates - #36

Merged
juliusge merged 6 commits into
mainfrom
dev
Aug 13, 2026
Merged

juliusge merged 6 commits into
mainfrom
dev

Conversation

@juliusge

Copy link
Copy Markdown
Contributor

Summary

  • Add .github/workflows/tests.yml: runs tox (py39-py313) on ubuntu/macos/windows for every PR into main. Caches downloaded model weights across runs; forces MPLBACKEND=Agg so plotting tests on Windows don't block on a GUI mainloop; windows-latest is continue-on-error for now (w/ 45min timeout).
  • Add .github/dependabot.yml: monthly version updates for the uv and github-actions ecosystems with grouped (dev/notebook tooling vs. runtime deps).
  • Fix tox.ini: add passenv = FIT_*, MPLBACKEND so env vars actually reach the isolated GH Actions test envs.
  • uv lock --upgrade: refresh to latest compatible dependency versions.

Tests

  • Github Actions tox tests successful on ubuntu-latest, macos-latest, windows-latest (post-lock-upgrade)

juliusge added 6 commits August 12, 2026 17:25
Runs tox (py39-py312) on latest Linux(Ubuntu)/macOS/Windows for every PR via GitHub
Actions, caching downloaded model weights across runs. Add
dependabot.yml for uv and github-actions dependency bumps, grouped
and monthly, with dev/notebook deps grouped
separately to mirror the repo's existing alert auto-triage rules in the git settings online.
Add passenv = FIT_* to tox.ini so FIT_CACHE_DIR/FIT_RUN_WEIGHT_DOWNLOAD_TESTS
reach the isolated test envs.
…ound hangs

macOS's uv sync --extra dev was picking up the runner's default Python 3.14,
which torch 2.6.0 has no wheels for; pin --python 3.12 for that step.
Windows hung for 5h+ in test_plot_quality because plt.show() opened a real
Tkinter mainloop there (unlike Linux/macOS CI, which has no GUI backend to
fall back to); force MPLBACKEND=Agg and pass it through tox's passenv.
Add timeout-minutes to bound any future hang, and let the windows-latest
leg fail without blocking merges until it's proven stable again.
tox rejected 'FIT_* MPLBACKEND' as a single invalid token; needs a comma.
All three OSes (ubuntu/macos/windows) passed cleanly across two
consecutive push-triggered runs. Keep pull_request: branches: [main]
only, so CI runs as the release gate rather than on every dev commit.
@juliusge
juliusge merged commit fa433bb into main Aug 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant